﻿using System;
using System.Collections.Generic;
using System.Text;

namespace OneMake.Model
{
    //赤兔下单付款绩效对比
    [PetaPoco.TableName("ct_d_order")]
    [PetaPoco.PrimaryKey("oid")]
    public class ct_d_order
    {
        [MapToField(FieldName = "统计日期")]
        public DateTime stat_datetime { get; set; }         //  date	

        [MapToExcel(ColumnName = "旺旺昵称")]
        public string ww { get; set; }                      //  varchar(30)	

        [MapToExcel(ColumnName = "下单人数")]
        public int n_order { get; set; }
        [MapToExcel(ColumnName = "下单金额")]
        public double n_order_amount { get; set; }
        [MapToExcel(ColumnName = "流失人数")]
        public int n_lost { get; set; }
        [MapToExcel(ColumnName = "流失金额")]
        public double n_lost_amount { get; set; }
        [MapToExcel(ColumnName = "当日付款人数")]
        public int n_paid { get; set; }
        [MapToExcel(ColumnName = "当日付款金额")]
        public double n_paid_amount { get; set; }
        [MapToExcel(ColumnName = "最终付款人数")]
        public int n_final_paid { get; set; }
        [MapToExcel(ColumnName = "最终付款金额")]
        public double n_final_paid_amount { get; set; }
        [MapToExcel(ColumnName = "成功率")]
        public double per_success { get; set; }

        
		/////////////////////////////////////////
        [MapToField(FieldName = "门店编号")]
        public int shopid { get; set; }
        [MapToField(FieldName = "文件编号")]
        public int fileid { get; set; }
        [MapToField(FieldName = "编号")]
        public int oid { get; private set; }    
    }
}
